﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Castle.ActiveRecord;
using Castle.ActiveRecord.Queries;
using NHibernate.Criterion;
using System.Collections;

/// <summary>
/// Summary description for Tour
/// </summary>
namespace LIB
{
    [ActiveRecord("tapchi")]
    public class tapchi_Info : ActiveRecordBase<tapchi_Info>
    {
        private int _id;
        private string _tcName;
        private string _tcAvatar;
        private string _tcLink;
        private DateTime _tcDateTime;
        [PrimaryKey(PrimaryKeyType.Native)]
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }
        [Property]
        public string tcName
        {
            get { return _tcName; }
            set { _tcName = value; }
        }
        [Property]
        public string tcAvatar
        {
            get { return _tcAvatar; }
            set { _tcAvatar = value; }
        }
        [Property]
        public string tcLink
        {
            get { return _tcLink; }
            set { _tcLink = value; }
        }
        [Property]
        public DateTime tcDateTime
        {
            get { return _tcDateTime; }
            set { _tcDateTime = value; }
        }

    }
}
